package com.tools.config;

import com.tools.commons.LogFilter;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.annotation.Bean;

/**
 * @author wangminggen
 */
public class LoggerConfiguration {
    @Bean
    public LogFilter logFilter(ApplicationEventPublisher eventPublisher) {
        return new LogFilter(eventPublisher);
    }
}
